package com.ynet.middleground.approve.service;

import java.util.List;

import javax.validation.Valid;

import com.ynet.core.common.PagerInfo;
import com.ynet.core.common.ServiceResult;
import com.ynet.middleground.approve.bean.QueryProcessReqPager;
import com.ynet.middleground.approve.dto.ProcessDefinitionDTO;
import com.ynet.middleground.approve.entity.QdgUser;

public interface UserService {

    ServiceResult<QdgUser> selectById(long id);

    ServiceResult<List<QdgUser>> selectAll();
    ServiceResult<List<QdgUser>> selectAll2(PagerInfo pagerInfo);

    /**
     * 测试
     * 
     * @param reqPager
     * @return
     */
    ServiceResult<List<ProcessDefinitionDTO>> listProcessByPage(@Valid QueryProcessReqPager reqPager);

}
